﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using RemObjects.Script;
using SG.Code.Kafei.Properties;

namespace SG.Code.Kafei
{
    public partial class CoffeeScript : EcmaScriptComponent
    {
        private static readonly EcmaScriptComponent CoffeeScriptCompiler;

        static CoffeeScript()
        {
            CoffeeScriptCompiler = new EcmaScriptComponent()
                                       {
                                            Source = Resources.CoffeeScript,
                                            RunInThread = true
                                       };
        }

        public CoffeeScript()
        {
            InitializeComponent();
        }

        public CoffeeScript(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }
    }
}
